package com.heima.admin.service.impl;

import com.heima.admin.service.UserAuthService;
import com.heima.api.UserClient;
import com.heima.api.wemedia.WemediaClient;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import com.heima.model.user.pojos.ApUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserAuthServiceImpl implements UserAuthService {
    @Autowired
    private UserClient userClient;
    @Override
    public ResponseResult list(AuthDto dto) {
      return userClient.list(dto);
    }

    @Override
    public ResponseResult authFail (AuthDto dto) {
       return userClient.authFail(dto);
    }

    @Override
    public ResponseResult authPass(AuthDto dto) {
        return userClient.authPass(dto);
    }
}
